﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;

namespace CN
{
    public class Helpers
    {
        public static DataTable EjecutarConsultaText(string p_strConsulta)
        {
            var oDataTable = new DataTable();
            var oDbHelpers = new CD.dbHelpers();
            oDataTable = oDbHelpers.EjecutarConsultaText(p_strConsulta);
            return oDataTable;
        }
        public static string EjecutarComandoText(string p_strConsulta)
        {
            var strResultado = string.Empty;
            var oDbHelpers = new CD.dbHelpers();
            strResultado = oDbHelpers.EjecutarComandoText(p_strConsulta);
            return strResultado;
        }

    }
}
